
module "prod-drp-lvs-vip" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr    = "prod-drp-lvs-vip"
  type  = "A"
  value = "10.3.8.90"
}

module "drp-lb-general-test-one" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr    = "drp-lb-general-test-one"
  type  = "A"
  value = "10.9.8.49"
}

module "test-drp-lvs-vip" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr    = "test-drp-lvs-vip"
  type  = "A"
  value = "10.9.8.41"
}

module "cnames-to-stg-drp-lvs-vip" {
  source = "../../modules/hybrid/dns_multi/deeproute.cn"

  type   = "CNAME"
  value  = "stg-drp-lvs-vip.deeproute.cn"
  remark = "Drplatform"
  rrs = [
    "stg-data-collection",
    "stg-drfile",
    "stg-drp-elasticsearch",
    "stg-drp-grafana",
    "stg-drp-kibana",
    "stg-drp-prometheus",
    "stg-drp-skywalking",
    "stg-drplatform",
    "stg-drplatform-backend",
    "stg-map-pipeline",
    "stg-task-management",
    "stg-vehicle-management",
  ]
}

module "cnames-to-test-drp-lvs-vip" {
  source = "../../modules/hybrid/dns_multi/deeproute.cn"

  type  = "CNAME"
  value = "test-drp-lvs-vip.deeproute.cn"

  rrs = [
    "test1-data-collection",
    "test1-drfile",
    "test1-drplatform",
    "test1-drplatform-backend",
    "test1-map-pipeline",
    "test1-task-management",
    "test1-vehicle-management",
    "test-drp-grafana",
    "test-drp-prometheus",
  ]
}

module "cnames-to-prod-drp-lvs-vip" {
  source = "../../modules/hybrid/dns_multi/deeproute.cn"

  type   = "CNAME"
  value  = "prod-drp-lvs-vip.deeproute.cn"
  remark = "Drplatform"

  rrs = [
    "data-collection",
    "drfile",
    "drp-kibana",
    "drp-skywalking",
    "drplatform",
    "drplatform-backend",
    "map-pipeline",
    "task-management",
    "vehicle-management",
  ]
}

module "stg-drp-lb-general-one" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  # remark = "stg网关出口"
  rr     = "stg-drp-lb-general-one"
  type   = "A"
  value  = "10.3.8.143"
}

module "stg-drp-lb-general-two" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  # remark = "stg网关出口"
  rr     = "stg-drp-lb-general-two"
  type   = "A"
  value  = "10.3.8.144"
}

module "stg-drp-lvs-vip" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  # remark = "stg lvs vip"
  rr     = "stg-drp-lvs-vip"
  type   = "A"
  value  = "10.3.8.141"
}

module "data-drfile" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr     = "data-drfile"
  type   = "A"
  value  = "10.3.8.141"
}

module "data-drfile-backend" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr     = "data-drfile-backend"
  type   = "A"
  value  = "10.3.8.141"
}

module "prod-drp-lb-general-one" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr     = "prod-drp-lb-general-one"
  type   = "A"
  value  = "10.3.9.120"
}

module "prod-drp-lb-general-two" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr     = "prod-drp-lb-general-two"
  type   = "A"
  value  = "10.3.9.122"
}

module "prod-drp-lb-file-download-one" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr     = "prod-drp-lb-file-download-one"
  type   = "A"
  value  = "10.3.9.115"
}

module "prod-drp-lb-file-download-two" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr     = "prod-drp-lb-file-download-two"
  type   = "A"
  value  = "10.3.9.121"
}

module "prod-drp-lb-data-provider-one" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr     = "prod-drp-lb-data-provider-one"
  type   = "A"
  value  = "10.3.9.125"
}

module "prod-drp-lb-data-provider-two" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr     = "prod-drp-lb-data-provider-two"
  type   = "A"
  value  = "10.3.9.126"
}

module "stg-ingress-drp-file-download-one" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr     = "stg-ingress-drp-file-download-one"
  type   = "A"
  value  = "10.3.8.81"
}

module "stg-ingress-drp-file-download-two" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr     = "stg-ingress-drp-file-download-two"
  type   = "A"
  value  = "10.3.8.82"
}

module "stg-drp-nginx-01" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr     = "stg-drp-nginx-01"
  type   = "A"
  value  = "10.3.11.68"
}
